import { createRouter, createWebHistory } from 'vue-router'
import Converter from '../components/Converter.vue'
import ApiProcessor from '../components/ApiProcessor.vue'

const router = createRouter({
  history: createWebHistory(''),
  routes: [
    {
      path: '/',
      name: 'converter',
      component: Converter
    },
    {
      path: '/api-processor',
      name: 'api-processor',
      component: ApiProcessor
    }
  ]
})

export default router